package com.freewater.springboot.demo.testmanagedtransaction;

import lombok.Data;

@Data
public class User {

    private long id = -1;

    private String name;

    private String password;

    private int age;

    private String email;

    protected User() {

    }

    public User(long id,
                String name,
                String password,
                int age,
                String email) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.age = age;
        this.email = email;
    }
}
